WeekdayNum

Returns a weekday integer based on a weekday name. Sunday is 1, Monday is 2, etc.

Syntax

WeekdayNum("WeekdayName")

Arguments

Argument Description
WeekdayName Weekday name.

Return value

Value Description
Value Integer that corresponds with the weekday name.

Example

numberDayOfWeek = WeekdayNum("Thursday")